<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>扫一扫</title>
	<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no"
	>
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">

	<!--标准mui.css-->
	<link rel="stylesheet" href="../css/mui.min.css">
	<!--App自定义的css-->
	<link rel="stylesheet" type="text/css" href="../css/app.css" />
	<link rel="stylesheet" href="../css/iconfont.css" />
	<style>
		.mui-card .mui-control-content {
			padding: 10px;
		}
		* { touch-action: none; }
		/*自定义样式*/
		html,body{
			width: 100%;
			height: 100%;
			margin: 0;
			padding: 0;
		}
		a{
			color: #ffffff;
		}
		.mui-content{
			width: 100%;
			height: 100%;
			background: #ffffff;
		}
		.mui-bar{
			background:#4F77AA ;
			color: #ffffff;
			-webkit-box-shadow: 0 0 1px rgba(0,0,0,0);
			box-shadow: 0 0 1px rgba(0,0,0,0);
		}
		.mui-title{
			color: #ffffff;
		}
		.mui-content .mui-content-item{
			width:100%;
			height:calc(100% - 120px);
		}
		.mui-content .mui-content-item .mui-control-content{
			width: 100%;
			height:100%;
		}
		.bottom_submit{
			position: absolute;
			width: 100%;
			height: 48px;
			text-align: center;
			line-height: 48px;
			bottom: 0;
			background: #4F77AA;
		}
		.mui-btn-blue, .mui-btn-primary, input[type=submit]{
			width:100%;
			height:48px;
			line-height: 48px;
			background:#4F77AA ;
			border:none;
			padding: 0;
		}
		
	</style>
</head>

<body>
<header class="mui-bar mui-bar-nav">
	<span class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></span>
	<h1 class="mui-title">扫一扫11</h1>
</header>
<div class="mui-content">
	<iframe id="mainFrame" frameborder="0" scrolling="no" allow="geolocation; microphone; camera"></iframe>
</div>

<script src="../js/jquery-1.11.3.js"></script>
<script src="../js/mui.js"></script>
<script>
	$(document).on("click","span.mui-pull-left",function(){
		window.location.href="../../index.html";
	})

	$(function(){
		var ret=window.location.href.split("?")[1];
		ret=JSON.stringify(ret).replace(/%22/g,"\"");
		ret=ret.substring(ret.indexOf("=")+1,ret.length-1);
		ret=JSON.parse(ret);//转成json对象;
		var content=ret.content;

		$("#mainFrame").attr("src",content);

	})
</script>

</body>

</html>
